-- GENERATED SPELL FOR [Witherbark Felhunter] --


function spell0_7767(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(2691,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7767', 334, 1)
end

function Sorts_7767(pUnit, Event)
local choix_sorts_7767 = math.random(0, 0)
if choix_sorts_7767 == 0 then
pUnit:RegisterEvent('spell0_7767', 1, 1)
end
end

function mob7767_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7767', math.random(1500, 3000), 1)
end

function mob7767_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7767_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7767_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7767, 1, 'mob7767_Action')
RegisterUnitEvent(7767, 2, 'mob7767_Leave')
RegisterUnitEvent(7767, 3, 'mob7767_Kill')
RegisterUnitEvent(7767, 4, 'mob7767_Die')
